package com.chushouya.product.dto.admin.product.evaluate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@ApiModel("模板估价项目选项DTO")
public class TempItemValueDTO {

    @ApiModelProperty("模板估价项目选项ID")
    private Long tempItemValueId;

    @ApiModelProperty("选项值ID")
    private Long valueId;

    @ApiModelProperty("选项值名称")
    private String valueName;

    @ApiModelProperty("扣减数值")
    private BigDecimal value;

    @ApiModelProperty("排序")
    private Integer sort;

    public TempItemValueDTO() {
    }

    public TempItemValueDTO(Long tempItemValueId, Long valueId, String valueName, BigDecimal value, Integer sort) {
        this.tempItemValueId = tempItemValueId;
        this.valueId = valueId;
        this.valueName = valueName;
        this.value = value;
        this.sort = sort;
    }
}
